]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dnd: Avoid sync_pointer after pop_modal()
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 18 Dec 2020 12:20:18 +0000 (13:20 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 14 Feb 2021 13:57:56 +0000 (13:57 +0000)
This is only necessary for the X11 backend (as grabs triggered by other
clients leave GNOME Shell oblivious of the actual pointer position), but
is now handled inside Mutter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1556>

js/ui/dnd.js

index 6f5524107897e332edeed0a0cc2917f0c135757d..ad92d7ee77a43cf557b0543805c8d721e04179fd 100644 (file)
@@ -770,7 +770,6 @@ var _Draggable = class _Draggable {
             Shell.util_set_hidden_from_pick(this._dragActor, false);
 
         this._ungrabEvents();
-        global.sync_pointer();
 
         if (this._updateHoverId) {
             GLib.source_remove(this._updateHoverId);